package com.ourteam.system.dao;

import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;

import org.apache.commons.lang.StringUtils;

import java.util.Arrays;
import java.util.List;
import java.util.Map;


/**
 * Template Name : DAO查询对象
 * Template Version : 1
 * Template Last Modfiy Date : Sat Aug 19 10:06:32 CST 2017
 * Auto Generate Date : 2018-07-31 15:13:28
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public class SysActionDAOQueryBean extends BaseQueryBean {
    public SysActionDAOQueryBean() {
        super();
    }

    public SysActionDAOQueryBean(BaseQueryBean aQueryBean) {
        super(aQueryBean);
    }

    public SysActionDAOQueryBean(BaseQueryBean aQueryBean, Map tableReplaceMap) {
        super(aQueryBean, tableReplaceMap);
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();

        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }

        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        return new Criteria(this);
    }

    public void addIdSelectProperty() {
        addIdSelectProperty("id");
    }

    public void addIdSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.Id, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.Id, "id");
        }
    }

    public void addModuleIdSelectProperty() {
        addModuleIdSelectProperty("moduleId");
    }

    public void addModuleIdSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.ModuleId, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.ModuleId, "moduleId");
        }
    }

    public void addActionCodeSelectProperty() {
        addActionCodeSelectProperty("actionCode");
    }

    public void addActionCodeSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.ActionCode, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.ActionCode, "actionCode");
        }
    }

    public void addActionNameSelectProperty() {
        addActionNameSelectProperty("actionName");
    }

    public void addActionNameSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.ActionName, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.ActionName, "actionName");
        }
    }

    public void addDomainIdSelectProperty() {
        addDomainIdSelectProperty("domainId");
    }

    public void addDomainIdSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.DomainId, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.DomainId, "domainId");
        }
    }

    public void addRemarksSelectProperty() {
        addRemarksSelectProperty("remarks");
    }

    public void addRemarksSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.Remarks, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.Remarks, "remarks");
        }
    }

    public void addStatusSelectProperty() {
        addStatusSelectProperty("status");
    }

    public void addStatusSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.Status, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.Status, "status");
        }
    }

    public void addActionResourceSelectProperty() {
        addActionResourceSelectProperty("actionResource");
    }

    public void addActionResourceSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.ActionResource, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.ActionResource, "actionResource");
        }
    }

    public void addDomainCodeSelectProperty() {
        addDomainCodeSelectProperty("domainCode");
    }

    public void addDomainCodeSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.DomainCode, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.DomainCode, "domainCode");
        }
    }

    public void addDomainNameSelectProperty() {
        addDomainNameSelectProperty("domainName");
    }

    public void addDomainNameSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.DomainName, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.DomainName, "domainName");
        }
    }

    public void addModuleCodeSelectProperty() {
        addModuleCodeSelectProperty("moduleCode");
    }

    public void addModuleCodeSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.ModuleCode, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.ModuleCode, "moduleCode");
        }
    }

    public void addModuleNameSelectProperty() {
        addModuleNameSelectProperty("moduleName");
    }

    public void addModuleNameSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(ISysActionDAO.ModuleName, aAlias);
        } else {
            addSelectProperty(ISysActionDAO.ModuleName, "moduleName");
        }
    }

    public void addAllSelectProperties() {
        addIdSelectProperty();

        addModuleIdSelectProperty();

        addActionCodeSelectProperty();

        addActionNameSelectProperty();

        addDomainIdSelectProperty();

        addRemarksSelectProperty();

        addStatusSelectProperty();

        addActionResourceSelectProperty();

        addDomainCodeSelectProperty();

        addDomainNameSelectProperty();

        addModuleCodeSelectProperty();

        addModuleNameSelectProperty();
    }

    public static class Criteria extends BaseWhereCriterion<SysActionDAOQueryBean> {
        protected Criteria(SysActionDAOQueryBean aParentObject) {
            super(aParentObject);
        }

        public Criteria andIdIsNull() {
            addCriterion(ISysActionDAO.Id + " is null");

            return this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion(ISysActionDAO.Id + " is not null");

            return this;
        }

        public Criteria andIdIsNotEmpty() {
            addCriterion(ISysActionDAO.Id + " is not null AND " +
                ISysActionDAO.Id + " <> ''");

            return this;
        }

        public Criteria andIdIsEmpty() {
            addCriterion("(" + ISysActionDAO.Id + " is null OR " +
                ISysActionDAO.Id + " = '')");

            return this;
        }

        public Criteria andIdEqualTo(long value) {
            return andIdEqualTo(Long.valueOf(value));
        }

        public Criteria andIdEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.Id + " = ", value, "id");

            return this;
        }

        public Criteria andIdEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Id);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Id + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdNotEqualTo(long value) {
            return andIdNotEqualTo(Long.valueOf(value));
        }

        public Criteria andIdNotEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.Id + " <>", value, "id");

            return this;
        }

        public Criteria andIdNotEqualToOrIsNull(long value) {
            return andIdNotEqualToOrIsNull(Long.valueOf(value));
        }

        public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {
            addCriterion(ISysActionDAO.Id + " is null OR " + ISysActionDAO.Id +
                " <>", value, "id");

            return this;
        }

        public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Id);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Id + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdGreaterThan(long value) {
            return andIdGreaterThan(Long.valueOf(value));
        }

        public Criteria andIdGreaterThan(java.lang.Long value) {
            addCriterion(ISysActionDAO.Id + " >", value, "id");

            return this;
        }

        public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Id);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Id + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdGreaterThanOrEqualTo(long value) {
            return andIdGreaterThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.Id + " >=", value, "id");

            return this;
        }

        public Criteria andIdGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Id);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Id + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdLessThan(long value) {
            return andIdLessThan(Long.valueOf(value));
        }

        public Criteria andIdLessThan(java.lang.Long value) {
            addCriterion(ISysActionDAO.Id + " <", value, "id");

            return this;
        }

        public Criteria andIdLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Id);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Id + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdLessThanOrEqualTo(long value) {
            return andIdLessThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.Id + " <=", value, "id");

            return this;
        }

        public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Id);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdLessThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Id + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdIn(long[] values) {
            if (values.length == 1) {
                return andIdEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysActionDAO.Id + " in", values, "id");

                return this;
            }
        }

        public Criteria andIdNotIn(long[] values) {
            if (values.length == 1) {
                return andIdNotEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysActionDAO.Id + " not in", values, "id");

                return this;
            }
        }

        public Criteria andIdIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andIdEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.Id + " in", values, "id");

                return this;
            }
        }

        public Criteria andIdNotIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andIdNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.Id + " not in", values, "id");

                return this;
            }
        }

        public Criteria andIdIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andIdEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.Id + " in", Arrays.asList(values),
                    "id");

                return this;
            }
        }

        public Criteria andIdNotIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andIdNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.Id + " not in",
                    Arrays.asList(values), "id");

                return this;
            }
        }

        public Criteria andIdIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Id + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Id + " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andIdBetween(long value1, long value2) {
            addCriterion(ISysActionDAO.Id + " between", value1, value2, "id");

            return this;
        }

        public Criteria andIdBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysActionDAO.Id + " between", value1, value2, "id");

            return this;
        }

        public Criteria andIdNotBetween(long value1, long value2) {
            addCriterion(ISysActionDAO.Id + " not between", value1, value2, "id");

            return this;
        }

        public Criteria andIdNotBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysActionDAO.Id + " not between", value1, value2, "id");

            return this;
        }

        public Criteria andModuleIdIsNull() {
            addCriterion(ISysActionDAO.ModuleId + " is null");

            return this;
        }

        public Criteria andModuleIdIsNotNull() {
            addCriterion(ISysActionDAO.ModuleId + " is not null");

            return this;
        }

        public Criteria andModuleIdIsNotEmpty() {
            addCriterion(ISysActionDAO.ModuleId + " is not null AND " +
                ISysActionDAO.ModuleId + " <> ''");

            return this;
        }

        public Criteria andModuleIdIsEmpty() {
            addCriterion("(" + ISysActionDAO.ModuleId + " is null OR " +
                ISysActionDAO.ModuleId + " = '')");

            return this;
        }

        public Criteria andModuleIdEqualTo(long value) {
            return andModuleIdEqualTo(Long.valueOf(value));
        }

        public Criteria andModuleIdEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.ModuleId + " = ", value, "moduleId");

            return this;
        }

        public Criteria andModuleIdEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleId);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleIdEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleId + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleIdNotEqualTo(long value) {
            return andModuleIdNotEqualTo(Long.valueOf(value));
        }

        public Criteria andModuleIdNotEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.ModuleId + " <>", value, "moduleId");

            return this;
        }

        public Criteria andModuleIdNotEqualToOrIsNull(long value) {
            return andModuleIdNotEqualToOrIsNull(Long.valueOf(value));
        }

        public Criteria andModuleIdNotEqualToOrIsNull(java.lang.Long value) {
            addCriterion(ISysActionDAO.ModuleId + " is null OR " +
                ISysActionDAO.ModuleId + " <>", value, "moduleId");

            return this;
        }

        public Criteria andModuleIdNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleId);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleIdNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleId + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleIdGreaterThan(long value) {
            return andModuleIdGreaterThan(Long.valueOf(value));
        }

        public Criteria andModuleIdGreaterThan(java.lang.Long value) {
            addCriterion(ISysActionDAO.ModuleId + " >", value, "moduleId");

            return this;
        }

        public Criteria andModuleIdGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleId);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleIdGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleId + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleIdGreaterThanOrEqualTo(long value) {
            return andModuleIdGreaterThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andModuleIdGreaterThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.ModuleId + " >=", value, "moduleId");

            return this;
        }

        public Criteria andModuleIdGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleId);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleIdGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleId + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleIdLessThan(long value) {
            return andModuleIdLessThan(Long.valueOf(value));
        }

        public Criteria andModuleIdLessThan(java.lang.Long value) {
            addCriterion(ISysActionDAO.ModuleId + " <", value, "moduleId");

            return this;
        }

        public Criteria andModuleIdLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleId);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleIdLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleId + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleIdLessThanOrEqualTo(long value) {
            return andModuleIdLessThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andModuleIdLessThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.ModuleId + " <=", value, "moduleId");

            return this;
        }

        public Criteria andModuleIdLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleId);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleIdLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleId + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleIdIn(long[] values) {
            if (values.length == 1) {
                return andModuleIdEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysActionDAO.ModuleId + " in", values, "moduleId");

                return this;
            }
        }

        public Criteria andModuleIdNotIn(long[] values) {
            if (values.length == 1) {
                return andModuleIdNotEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysActionDAO.ModuleId + " not in", values,
                    "moduleId");

                return this;
            }
        }

        public Criteria andModuleIdIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andModuleIdEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ModuleId + " in", values, "moduleId");

                return this;
            }
        }

        public Criteria andModuleIdNotIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andModuleIdNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ModuleId + " not in", values,
                    "moduleId");

                return this;
            }
        }

        public Criteria andModuleIdIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andModuleIdEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ModuleId + " in",
                    Arrays.asList(values), "moduleId");

                return this;
            }
        }

        public Criteria andModuleIdNotIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andModuleIdNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ModuleId + " not in",
                    Arrays.asList(values), "moduleId");

                return this;
            }
        }

        public Criteria andModuleIdIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleId + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleIdNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleId + " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleIdBetween(long value1, long value2) {
            addCriterion(ISysActionDAO.ModuleId + " between", value1, value2,
                "moduleId");

            return this;
        }

        public Criteria andModuleIdBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysActionDAO.ModuleId + " between", value1, value2,
                "moduleId");

            return this;
        }

        public Criteria andModuleIdNotBetween(long value1, long value2) {
            addCriterion(ISysActionDAO.ModuleId + " not between", value1,
                value2, "moduleId");

            return this;
        }

        public Criteria andModuleIdNotBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysActionDAO.ModuleId + " not between", value1,
                value2, "moduleId");

            return this;
        }

        public Criteria andActionCodeIsNull() {
            addCriterion(ISysActionDAO.ActionCode + " is null");

            return this;
        }

        public Criteria andActionCodeIsNotNull() {
            addCriterion(ISysActionDAO.ActionCode + " is not null");

            return this;
        }

        public Criteria andActionCodeIsNotEmpty() {
            addCriterion(ISysActionDAO.ActionCode + " is not null AND " +
                ISysActionDAO.ActionCode + " <> ''");

            return this;
        }

        public Criteria andActionCodeIsEmpty() {
            addCriterion("(" + ISysActionDAO.ActionCode + " is null OR " +
                ISysActionDAO.ActionCode + " = '')");

            return this;
        }

        public Criteria andActionCodeEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionCode + " = ", value, "actionCode");

            return this;
        }

        public Criteria andActionCodeEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionCode);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionCodeEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionCode + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionCodeNotEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionCode + " <>", value, "actionCode");

            return this;
        }

        public Criteria andActionCodeNotEqualToOrIsNull(String value) {
            addCriterion(ISysActionDAO.ActionCode + " is null OR " +
                ISysActionDAO.ActionCode + " <>", value, "actionCode");

            return this;
        }

        public Criteria andActionCodeNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionCode);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionCodeNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionCode + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionCodeGreaterThan(String value) {
            addCriterion(ISysActionDAO.ActionCode + " >", value, "actionCode");

            return this;
        }

        public Criteria andActionCodeGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionCode);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionCodeGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionCode + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionCodeGreaterThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionCode + " >=", value, "actionCode");

            return this;
        }

        public Criteria andActionCodeGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionCode);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionCodeGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionCode + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionCodeLessThan(String value) {
            addCriterion(ISysActionDAO.ActionCode + " <", value, "actionCode");

            return this;
        }

        public Criteria andActionCodeLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionCode);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionCodeLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionCode + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionCodeLessThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionCode + " <=", value, "actionCode");

            return this;
        }

        public Criteria andActionCodeLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionCode);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionCodeLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionCode + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionCodeLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.ActionCode + " like", buffer.toString(),
                "actionCode");

            return this;
        }

        public Criteria andActionCodeNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.ActionCode + " not like",
                buffer.toString(), "actionCode");

            return this;
        }

        public Criteria andActionCodeIn(List<String> values) {
            if (values.size() == 1) {
                return andActionCodeEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ActionCode + " in", values,
                    "actionCode");

                return this;
            }
        }

        public Criteria andActionCodeNotIn(List<String> values) {
            if (values.size() == 1) {
                return andActionCodeNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ActionCode + " not in", values,
                    "actionCode");

                return this;
            }
        }

        public Criteria andActionCodeIn(String[] values) {
            if (values.length == 1) {
                return andActionCodeEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ActionCode + " in",
                    Arrays.asList(values), "actionCode");

                return this;
            }
        }

        public Criteria andActionCodeNotIn(String[] values) {
            if (values.length == 1) {
                return andActionCodeNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ActionCode + " not in",
                    Arrays.asList(values), "actionCode");

                return this;
            }
        }

        public Criteria andActionCodeIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionCode + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionCodeNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionCode + " not in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andActionCodeBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.ActionCode + " between", value1, value2,
                "actionCode");

            return this;
        }

        public Criteria andActionCodeNotBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.ActionCode + " not between", value1,
                value2, "actionCode");

            return this;
        }

        public Criteria andActionNameIsNull() {
            addCriterion(ISysActionDAO.ActionName + " is null");

            return this;
        }

        public Criteria andActionNameIsNotNull() {
            addCriterion(ISysActionDAO.ActionName + " is not null");

            return this;
        }

        public Criteria andActionNameIsNotEmpty() {
            addCriterion(ISysActionDAO.ActionName + " is not null AND " +
                ISysActionDAO.ActionName + " <> ''");

            return this;
        }

        public Criteria andActionNameIsEmpty() {
            addCriterion("(" + ISysActionDAO.ActionName + " is null OR " +
                ISysActionDAO.ActionName + " = '')");

            return this;
        }

        public Criteria andActionNameEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionName + " = ", value, "actionName");

            return this;
        }

        public Criteria andActionNameEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionName);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionNameEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionName + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionNameNotEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionName + " <>", value, "actionName");

            return this;
        }

        public Criteria andActionNameNotEqualToOrIsNull(String value) {
            addCriterion(ISysActionDAO.ActionName + " is null OR " +
                ISysActionDAO.ActionName + " <>", value, "actionName");

            return this;
        }

        public Criteria andActionNameNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionName);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionNameNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionName + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionNameGreaterThan(String value) {
            addCriterion(ISysActionDAO.ActionName + " >", value, "actionName");

            return this;
        }

        public Criteria andActionNameGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionName);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionNameGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionName + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionNameGreaterThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionName + " >=", value, "actionName");

            return this;
        }

        public Criteria andActionNameGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionName);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionNameGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionName + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionNameLessThan(String value) {
            addCriterion(ISysActionDAO.ActionName + " <", value, "actionName");

            return this;
        }

        public Criteria andActionNameLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionName);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionNameLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionName + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionNameLessThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionName + " <=", value, "actionName");

            return this;
        }

        public Criteria andActionNameLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionName);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionNameLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionName + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionNameLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.ActionName + " like", buffer.toString(),
                "actionName");

            return this;
        }

        public Criteria andActionNameNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.ActionName + " not like",
                buffer.toString(), "actionName");

            return this;
        }

        public Criteria andActionNameIn(List<String> values) {
            if (values.size() == 1) {
                return andActionNameEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ActionName + " in", values,
                    "actionName");

                return this;
            }
        }

        public Criteria andActionNameNotIn(List<String> values) {
            if (values.size() == 1) {
                return andActionNameNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ActionName + " not in", values,
                    "actionName");

                return this;
            }
        }

        public Criteria andActionNameIn(String[] values) {
            if (values.length == 1) {
                return andActionNameEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ActionName + " in",
                    Arrays.asList(values), "actionName");

                return this;
            }
        }

        public Criteria andActionNameNotIn(String[] values) {
            if (values.length == 1) {
                return andActionNameNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ActionName + " not in",
                    Arrays.asList(values), "actionName");

                return this;
            }
        }

        public Criteria andActionNameIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionName + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionNameNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionName + " not in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andActionNameBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.ActionName + " between", value1, value2,
                "actionName");

            return this;
        }

        public Criteria andActionNameNotBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.ActionName + " not between", value1,
                value2, "actionName");

            return this;
        }

        public Criteria andDomainIdIsNull() {
            addCriterion(ISysActionDAO.DomainId + " is null");

            return this;
        }

        public Criteria andDomainIdIsNotNull() {
            addCriterion(ISysActionDAO.DomainId + " is not null");

            return this;
        }

        public Criteria andDomainIdIsNotEmpty() {
            addCriterion(ISysActionDAO.DomainId + " is not null AND " +
                ISysActionDAO.DomainId + " <> ''");

            return this;
        }

        public Criteria andDomainIdIsEmpty() {
            addCriterion("(" + ISysActionDAO.DomainId + " is null OR " +
                ISysActionDAO.DomainId + " = '')");

            return this;
        }

        public Criteria andDomainIdEqualTo(long value) {
            return andDomainIdEqualTo(Long.valueOf(value));
        }

        public Criteria andDomainIdEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.DomainId + " = ", value, "domainId");

            return this;
        }

        public Criteria andDomainIdEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainId);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIdEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainId + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIdNotEqualTo(long value) {
            return andDomainIdNotEqualTo(Long.valueOf(value));
        }

        public Criteria andDomainIdNotEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.DomainId + " <>", value, "domainId");

            return this;
        }

        public Criteria andDomainIdNotEqualToOrIsNull(long value) {
            return andDomainIdNotEqualToOrIsNull(Long.valueOf(value));
        }

        public Criteria andDomainIdNotEqualToOrIsNull(java.lang.Long value) {
            addCriterion(ISysActionDAO.DomainId + " is null OR " +
                ISysActionDAO.DomainId + " <>", value, "domainId");

            return this;
        }

        public Criteria andDomainIdNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainId);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIdNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainId + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIdGreaterThan(long value) {
            return andDomainIdGreaterThan(Long.valueOf(value));
        }

        public Criteria andDomainIdGreaterThan(java.lang.Long value) {
            addCriterion(ISysActionDAO.DomainId + " >", value, "domainId");

            return this;
        }

        public Criteria andDomainIdGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainId);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIdGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainId + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIdGreaterThanOrEqualTo(long value) {
            return andDomainIdGreaterThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andDomainIdGreaterThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.DomainId + " >=", value, "domainId");

            return this;
        }

        public Criteria andDomainIdGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainId);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIdGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainId + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIdLessThan(long value) {
            return andDomainIdLessThan(Long.valueOf(value));
        }

        public Criteria andDomainIdLessThan(java.lang.Long value) {
            addCriterion(ISysActionDAO.DomainId + " <", value, "domainId");

            return this;
        }

        public Criteria andDomainIdLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainId);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIdLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainId + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIdLessThanOrEqualTo(long value) {
            return andDomainIdLessThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andDomainIdLessThanOrEqualTo(java.lang.Long value) {
            addCriterion(ISysActionDAO.DomainId + " <=", value, "domainId");

            return this;
        }

        public Criteria andDomainIdLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainId);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainIdLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainId + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIdIn(long[] values) {
            if (values.length == 1) {
                return andDomainIdEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysActionDAO.DomainId + " in", values, "domainId");

                return this;
            }
        }

        public Criteria andDomainIdNotIn(long[] values) {
            if (values.length == 1) {
                return andDomainIdNotEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(ISysActionDAO.DomainId + " not in", values,
                    "domainId");

                return this;
            }
        }

        public Criteria andDomainIdIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andDomainIdEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.DomainId + " in", values, "domainId");

                return this;
            }
        }

        public Criteria andDomainIdNotIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andDomainIdNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.DomainId + " not in", values,
                    "domainId");

                return this;
            }
        }

        public Criteria andDomainIdIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andDomainIdEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.DomainId + " in",
                    Arrays.asList(values), "domainId");

                return this;
            }
        }

        public Criteria andDomainIdNotIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andDomainIdNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.DomainId + " not in",
                    Arrays.asList(values), "domainId");

                return this;
            }
        }

        public Criteria andDomainIdIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainId + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIdNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainId + " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainIdBetween(long value1, long value2) {
            addCriterion(ISysActionDAO.DomainId + " between", value1, value2,
                "domainId");

            return this;
        }

        public Criteria andDomainIdBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysActionDAO.DomainId + " between", value1, value2,
                "domainId");

            return this;
        }

        public Criteria andDomainIdNotBetween(long value1, long value2) {
            addCriterion(ISysActionDAO.DomainId + " not between", value1,
                value2, "domainId");

            return this;
        }

        public Criteria andDomainIdNotBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(ISysActionDAO.DomainId + " not between", value1,
                value2, "domainId");

            return this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion(ISysActionDAO.Remarks + " is null");

            return this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion(ISysActionDAO.Remarks + " is not null");

            return this;
        }

        public Criteria andRemarksIsNotEmpty() {
            addCriterion(ISysActionDAO.Remarks + " is not null AND " +
                ISysActionDAO.Remarks + " <> ''");

            return this;
        }

        public Criteria andRemarksIsEmpty() {
            addCriterion("(" + ISysActionDAO.Remarks + " is null OR " +
                ISysActionDAO.Remarks + " = '')");

            return this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion(ISysActionDAO.Remarks + " = ", value, "remarks");

            return this;
        }

        public Criteria andRemarksEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Remarks);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Remarks + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion(ISysActionDAO.Remarks + " <>", value, "remarks");

            return this;
        }

        public Criteria andRemarksNotEqualToOrIsNull(String value) {
            addCriterion(ISysActionDAO.Remarks + " is null OR " +
                ISysActionDAO.Remarks + " <>", value, "remarks");

            return this;
        }

        public Criteria andRemarksNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Remarks);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Remarks + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion(ISysActionDAO.Remarks + " >", value, "remarks");

            return this;
        }

        public Criteria andRemarksGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Remarks);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Remarks + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.Remarks + " >=", value, "remarks");

            return this;
        }

        public Criteria andRemarksGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Remarks);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Remarks + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion(ISysActionDAO.Remarks + " <", value, "remarks");

            return this;
        }

        public Criteria andRemarksLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Remarks);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Remarks + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.Remarks + " <=", value, "remarks");

            return this;
        }

        public Criteria andRemarksLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Remarks);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Remarks + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.Remarks + " like", buffer.toString(),
                "remarks");

            return this;
        }

        public Criteria andRemarksNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.Remarks + " not like",
                buffer.toString(), "remarks");

            return this;
        }

        public Criteria andRemarksIn(List<String> values) {
            if (values.size() == 1) {
                return andRemarksEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.Remarks + " in", values, "remarks");

                return this;
            }
        }

        public Criteria andRemarksNotIn(List<String> values) {
            if (values.size() == 1) {
                return andRemarksNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.Remarks + " not in", values,
                    "remarks");

                return this;
            }
        }

        public Criteria andRemarksIn(String[] values) {
            if (values.length == 1) {
                return andRemarksEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.Remarks + " in",
                    Arrays.asList(values), "remarks");

                return this;
            }
        }

        public Criteria andRemarksNotIn(String[] values) {
            if (values.length == 1) {
                return andRemarksNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.Remarks + " not in",
                    Arrays.asList(values), "remarks");

                return this;
            }
        }

        public Criteria andRemarksIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Remarks + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Remarks + " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.Remarks + " between", value1, value2,
                "remarks");

            return this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.Remarks + " not between", value1,
                value2, "remarks");

            return this;
        }

        public Criteria andStatusIsNull() {
            addCriterion(ISysActionDAO.Status + " is null");

            return this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion(ISysActionDAO.Status + " is not null");

            return this;
        }

        public Criteria andStatusIsNotEmpty() {
            addCriterion(ISysActionDAO.Status + " is not null AND " +
                ISysActionDAO.Status + " <> ''");

            return this;
        }

        public Criteria andStatusIsEmpty() {
            addCriterion("(" + ISysActionDAO.Status + " is null OR " +
                ISysActionDAO.Status + " = '')");

            return this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion(ISysActionDAO.Status + " = ", value, "status");

            return this;
        }

        public Criteria andStatusEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Status);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Status + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion(ISysActionDAO.Status + " <>", value, "status");

            return this;
        }

        public Criteria andStatusNotEqualToOrIsNull(String value) {
            addCriterion(ISysActionDAO.Status + " is null OR " +
                ISysActionDAO.Status + " <>", value, "status");

            return this;
        }

        public Criteria andStatusNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Status);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Status + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion(ISysActionDAO.Status + " >", value, "status");

            return this;
        }

        public Criteria andStatusGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Status);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Status + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.Status + " >=", value, "status");

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Status);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Status + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion(ISysActionDAO.Status + " <", value, "status");

            return this;
        }

        public Criteria andStatusLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Status);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Status + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.Status + " <=", value, "status");

            return this;
        }

        public Criteria andStatusLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.Status);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusLessThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Status + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.Status + " like", buffer.toString(),
                "status");

            return this;
        }

        public Criteria andStatusNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.Status + " not like", buffer.toString(),
                "status");

            return this;
        }

        public Criteria andStatusIn(List<String> values) {
            if (values.size() == 1) {
                return andStatusEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.Status + " in", values, "status");

                return this;
            }
        }

        public Criteria andStatusNotIn(List<String> values) {
            if (values.size() == 1) {
                return andStatusNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.Status + " not in", values, "status");

                return this;
            }
        }

        public Criteria andStatusIn(String[] values) {
            if (values.length == 1) {
                return andStatusEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.Status + " in",
                    Arrays.asList(values), "status");

                return this;
            }
        }

        public Criteria andStatusNotIn(String[] values) {
            if (values.length == 1) {
                return andStatusNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.Status + " not in",
                    Arrays.asList(values), "status");

                return this;
            }
        }

        public Criteria andStatusIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Status + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.Status + " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.Status + " between", value1, value2,
                "status");

            return this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.Status + " not between", value1, value2,
                "status");

            return this;
        }

        public Criteria andActionResourceIsNull() {
            addCriterion(ISysActionDAO.ActionResource + " is null");

            return this;
        }

        public Criteria andActionResourceIsNotNull() {
            addCriterion(ISysActionDAO.ActionResource + " is not null");

            return this;
        }

        public Criteria andActionResourceIsNotEmpty() {
            addCriterion(ISysActionDAO.ActionResource + " is not null AND " +
                ISysActionDAO.ActionResource + " <> ''");

            return this;
        }

        public Criteria andActionResourceIsEmpty() {
            addCriterion("(" + ISysActionDAO.ActionResource + " is null OR " +
                ISysActionDAO.ActionResource + " = '')");

            return this;
        }

        public Criteria andActionResourceEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionResource + " = ", value,
                "actionResource");

            return this;
        }

        public Criteria andActionResourceEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionResource);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionResourceEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionResource + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionResourceNotEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionResource + " <>", value,
                "actionResource");

            return this;
        }

        public Criteria andActionResourceNotEqualToOrIsNull(String value) {
            addCriterion(ISysActionDAO.ActionResource + " is null OR " +
                ISysActionDAO.ActionResource + " <>", value, "actionResource");

            return this;
        }

        public Criteria andActionResourceNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionResource);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionResourceNotEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionResource + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andActionResourceGreaterThan(String value) {
            addCriterion(ISysActionDAO.ActionResource + " >", value,
                "actionResource");

            return this;
        }

        public Criteria andActionResourceGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionResource);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionResourceGreaterThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionResource + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionResourceGreaterThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionResource + " >=", value,
                "actionResource");

            return this;
        }

        public Criteria andActionResourceGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionResource);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionResourceGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionResource + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andActionResourceLessThan(String value) {
            addCriterion(ISysActionDAO.ActionResource + " <", value,
                "actionResource");

            return this;
        }

        public Criteria andActionResourceLessThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionResource);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionResourceLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionResource + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andActionResourceLessThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.ActionResource + " <=", value,
                "actionResource");

            return this;
        }

        public Criteria andActionResourceLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ActionResource);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andActionResourceLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionResource + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andActionResourceLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.ActionResource + " like",
                buffer.toString(), "actionResource");

            return this;
        }

        public Criteria andActionResourceNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.ActionResource + " not like",
                buffer.toString(), "actionResource");

            return this;
        }

        public Criteria andActionResourceIn(List<String> values) {
            if (values.size() == 1) {
                return andActionResourceEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ActionResource + " in", values,
                    "actionResource");

                return this;
            }
        }

        public Criteria andActionResourceNotIn(List<String> values) {
            if (values.size() == 1) {
                return andActionResourceNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ActionResource + " not in", values,
                    "actionResource");

                return this;
            }
        }

        public Criteria andActionResourceIn(String[] values) {
            if (values.length == 1) {
                return andActionResourceEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ActionResource + " in",
                    Arrays.asList(values), "actionResource");

                return this;
            }
        }

        public Criteria andActionResourceNotIn(String[] values) {
            if (values.length == 1) {
                return andActionResourceNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ActionResource + " not in",
                    Arrays.asList(values), "actionResource");

                return this;
            }
        }

        public Criteria andActionResourceIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionResource + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andActionResourceNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ActionResource + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andActionResourceBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.ActionResource + " between", value1,
                value2, "actionResource");

            return this;
        }

        public Criteria andActionResourceNotBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.ActionResource + " not between", value1,
                value2, "actionResource");

            return this;
        }

        public Criteria andDomainCodeIsNull() {
            addCriterion(ISysActionDAO.DomainCode + " is null");

            return this;
        }

        public Criteria andDomainCodeIsNotNull() {
            addCriterion(ISysActionDAO.DomainCode + " is not null");

            return this;
        }

        public Criteria andDomainCodeIsNotEmpty() {
            addCriterion(ISysActionDAO.DomainCode + " is not null AND " +
                ISysActionDAO.DomainCode + " <> ''");

            return this;
        }

        public Criteria andDomainCodeIsEmpty() {
            addCriterion("(" + ISysActionDAO.DomainCode + " is null OR " +
                ISysActionDAO.DomainCode + " = '')");

            return this;
        }

        public Criteria andDomainCodeEqualTo(String value) {
            addCriterion(ISysActionDAO.DomainCode + " = ", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainCode);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainCode + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeNotEqualTo(String value) {
            addCriterion(ISysActionDAO.DomainCode + " <>", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeNotEqualToOrIsNull(String value) {
            addCriterion(ISysActionDAO.DomainCode + " is null OR " +
                ISysActionDAO.DomainCode + " <>", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainCode);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainCode + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeGreaterThan(String value) {
            addCriterion(ISysActionDAO.DomainCode + " >", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainCode);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainCode + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeGreaterThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.DomainCode + " >=", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainCode);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainCode + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeLessThan(String value) {
            addCriterion(ISysActionDAO.DomainCode + " <", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainCode);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainCode + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeLessThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.DomainCode + " <=", value, "domainCode");

            return this;
        }

        public Criteria andDomainCodeLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainCode);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainCodeLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainCode + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.DomainCode + " like", buffer.toString(),
                "domainCode");

            return this;
        }

        public Criteria andDomainCodeNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.DomainCode + " not like",
                buffer.toString(), "domainCode");

            return this;
        }

        public Criteria andDomainCodeIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainCodeEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.DomainCode + " in", values,
                    "domainCode");

                return this;
            }
        }

        public Criteria andDomainCodeNotIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainCodeNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.DomainCode + " not in", values,
                    "domainCode");

                return this;
            }
        }

        public Criteria andDomainCodeIn(String[] values) {
            if (values.length == 1) {
                return andDomainCodeEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.DomainCode + " in",
                    Arrays.asList(values), "domainCode");

                return this;
            }
        }

        public Criteria andDomainCodeNotIn(String[] values) {
            if (values.length == 1) {
                return andDomainCodeNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.DomainCode + " not in",
                    Arrays.asList(values), "domainCode");

                return this;
            }
        }

        public Criteria andDomainCodeIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainCode + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainCodeNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainCode + " not in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainCodeBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.DomainCode + " between", value1, value2,
                "domainCode");

            return this;
        }

        public Criteria andDomainCodeNotBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.DomainCode + " not between", value1,
                value2, "domainCode");

            return this;
        }

        public Criteria andDomainNameIsNull() {
            addCriterion(ISysActionDAO.DomainName + " is null");

            return this;
        }

        public Criteria andDomainNameIsNotNull() {
            addCriterion(ISysActionDAO.DomainName + " is not null");

            return this;
        }

        public Criteria andDomainNameIsNotEmpty() {
            addCriterion(ISysActionDAO.DomainName + " is not null AND " +
                ISysActionDAO.DomainName + " <> ''");

            return this;
        }

        public Criteria andDomainNameIsEmpty() {
            addCriterion("(" + ISysActionDAO.DomainName + " is null OR " +
                ISysActionDAO.DomainName + " = '')");

            return this;
        }

        public Criteria andDomainNameEqualTo(String value) {
            addCriterion(ISysActionDAO.DomainName + " = ", value, "domainName");

            return this;
        }

        public Criteria andDomainNameEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainName);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainName + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameNotEqualTo(String value) {
            addCriterion(ISysActionDAO.DomainName + " <>", value, "domainName");

            return this;
        }

        public Criteria andDomainNameNotEqualToOrIsNull(String value) {
            addCriterion(ISysActionDAO.DomainName + " is null OR " +
                ISysActionDAO.DomainName + " <>", value, "domainName");

            return this;
        }

        public Criteria andDomainNameNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainName);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainName + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameGreaterThan(String value) {
            addCriterion(ISysActionDAO.DomainName + " >", value, "domainName");

            return this;
        }

        public Criteria andDomainNameGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainName);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainName + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameGreaterThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.DomainName + " >=", value, "domainName");

            return this;
        }

        public Criteria andDomainNameGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainName);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainName + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameLessThan(String value) {
            addCriterion(ISysActionDAO.DomainName + " <", value, "domainName");

            return this;
        }

        public Criteria andDomainNameLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainName);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainName + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameLessThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.DomainName + " <=", value, "domainName");

            return this;
        }

        public Criteria andDomainNameLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.DomainName);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andDomainNameLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainName + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.DomainName + " like", buffer.toString(),
                "domainName");

            return this;
        }

        public Criteria andDomainNameNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.DomainName + " not like",
                buffer.toString(), "domainName");

            return this;
        }

        public Criteria andDomainNameIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainNameEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.DomainName + " in", values,
                    "domainName");

                return this;
            }
        }

        public Criteria andDomainNameNotIn(List<String> values) {
            if (values.size() == 1) {
                return andDomainNameNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.DomainName + " not in", values,
                    "domainName");

                return this;
            }
        }

        public Criteria andDomainNameIn(String[] values) {
            if (values.length == 1) {
                return andDomainNameEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.DomainName + " in",
                    Arrays.asList(values), "domainName");

                return this;
            }
        }

        public Criteria andDomainNameNotIn(String[] values) {
            if (values.length == 1) {
                return andDomainNameNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.DomainName + " not in",
                    Arrays.asList(values), "domainName");

                return this;
            }
        }

        public Criteria andDomainNameIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainName + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andDomainNameNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.DomainName + " not in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andDomainNameBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.DomainName + " between", value1, value2,
                "domainName");

            return this;
        }

        public Criteria andDomainNameNotBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.DomainName + " not between", value1,
                value2, "domainName");

            return this;
        }

        public Criteria andModuleCodeIsNull() {
            addCriterion(ISysActionDAO.ModuleCode + " is null");

            return this;
        }

        public Criteria andModuleCodeIsNotNull() {
            addCriterion(ISysActionDAO.ModuleCode + " is not null");

            return this;
        }

        public Criteria andModuleCodeIsNotEmpty() {
            addCriterion(ISysActionDAO.ModuleCode + " is not null AND " +
                ISysActionDAO.ModuleCode + " <> ''");

            return this;
        }

        public Criteria andModuleCodeIsEmpty() {
            addCriterion("(" + ISysActionDAO.ModuleCode + " is null OR " +
                ISysActionDAO.ModuleCode + " = '')");

            return this;
        }

        public Criteria andModuleCodeEqualTo(String value) {
            addCriterion(ISysActionDAO.ModuleCode + " = ", value, "moduleCode");

            return this;
        }

        public Criteria andModuleCodeEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleCode);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleCodeEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleCode + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleCodeNotEqualTo(String value) {
            addCriterion(ISysActionDAO.ModuleCode + " <>", value, "moduleCode");

            return this;
        }

        public Criteria andModuleCodeNotEqualToOrIsNull(String value) {
            addCriterion(ISysActionDAO.ModuleCode + " is null OR " +
                ISysActionDAO.ModuleCode + " <>", value, "moduleCode");

            return this;
        }

        public Criteria andModuleCodeNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleCode);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleCodeNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleCode + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleCodeGreaterThan(String value) {
            addCriterion(ISysActionDAO.ModuleCode + " >", value, "moduleCode");

            return this;
        }

        public Criteria andModuleCodeGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleCode);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleCodeGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleCode + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleCodeGreaterThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.ModuleCode + " >=", value, "moduleCode");

            return this;
        }

        public Criteria andModuleCodeGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleCode);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleCodeGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleCode + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleCodeLessThan(String value) {
            addCriterion(ISysActionDAO.ModuleCode + " <", value, "moduleCode");

            return this;
        }

        public Criteria andModuleCodeLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleCode);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleCodeLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleCode + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleCodeLessThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.ModuleCode + " <=", value, "moduleCode");

            return this;
        }

        public Criteria andModuleCodeLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleCode);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleCodeLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleCode + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleCodeLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.ModuleCode + " like", buffer.toString(),
                "moduleCode");

            return this;
        }

        public Criteria andModuleCodeNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.ModuleCode + " not like",
                buffer.toString(), "moduleCode");

            return this;
        }

        public Criteria andModuleCodeIn(List<String> values) {
            if (values.size() == 1) {
                return andModuleCodeEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ModuleCode + " in", values,
                    "moduleCode");

                return this;
            }
        }

        public Criteria andModuleCodeNotIn(List<String> values) {
            if (values.size() == 1) {
                return andModuleCodeNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ModuleCode + " not in", values,
                    "moduleCode");

                return this;
            }
        }

        public Criteria andModuleCodeIn(String[] values) {
            if (values.length == 1) {
                return andModuleCodeEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ModuleCode + " in",
                    Arrays.asList(values), "moduleCode");

                return this;
            }
        }

        public Criteria andModuleCodeNotIn(String[] values) {
            if (values.length == 1) {
                return andModuleCodeNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ModuleCode + " not in",
                    Arrays.asList(values), "moduleCode");

                return this;
            }
        }

        public Criteria andModuleCodeIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleCode + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleCodeNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleCode + " not in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andModuleCodeBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.ModuleCode + " between", value1, value2,
                "moduleCode");

            return this;
        }

        public Criteria andModuleCodeNotBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.ModuleCode + " not between", value1,
                value2, "moduleCode");

            return this;
        }

        public Criteria andModuleNameIsNull() {
            addCriterion(ISysActionDAO.ModuleName + " is null");

            return this;
        }

        public Criteria andModuleNameIsNotNull() {
            addCriterion(ISysActionDAO.ModuleName + " is not null");

            return this;
        }

        public Criteria andModuleNameIsNotEmpty() {
            addCriterion(ISysActionDAO.ModuleName + " is not null AND " +
                ISysActionDAO.ModuleName + " <> ''");

            return this;
        }

        public Criteria andModuleNameIsEmpty() {
            addCriterion("(" + ISysActionDAO.ModuleName + " is null OR " +
                ISysActionDAO.ModuleName + " = '')");

            return this;
        }

        public Criteria andModuleNameEqualTo(String value) {
            addCriterion(ISysActionDAO.ModuleName + " = ", value, "moduleName");

            return this;
        }

        public Criteria andModuleNameEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleName);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleNameEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleName + " = ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleNameNotEqualTo(String value) {
            addCriterion(ISysActionDAO.ModuleName + " <>", value, "moduleName");

            return this;
        }

        public Criteria andModuleNameNotEqualToOrIsNull(String value) {
            addCriterion(ISysActionDAO.ModuleName + " is null OR " +
                ISysActionDAO.ModuleName + " <>", value, "moduleName");

            return this;
        }

        public Criteria andModuleNameNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleName);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleNameNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleName + " <> ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleNameGreaterThan(String value) {
            addCriterion(ISysActionDAO.ModuleName + " >", value, "moduleName");

            return this;
        }

        public Criteria andModuleNameGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleName);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleNameGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleName + " > ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleNameGreaterThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.ModuleName + " >=", value, "moduleName");

            return this;
        }

        public Criteria andModuleNameGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleName);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleNameGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleName + " >= ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleNameLessThan(String value) {
            addCriterion(ISysActionDAO.ModuleName + " <", value, "moduleName");

            return this;
        }

        public Criteria andModuleNameLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleName);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleNameLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleName + " < ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleNameLessThanOrEqualTo(String value) {
            addCriterion(ISysActionDAO.ModuleName + " <=", value, "moduleName");

            return this;
        }

        public Criteria andModuleNameLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(ISysActionDAO.ModuleName);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andModuleNameLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleName + " <= ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleNameLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.ModuleName + " like", buffer.toString(),
                "moduleName");

            return this;
        }

        public Criteria andModuleNameNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(ISysActionDAO.ModuleName + " not like",
                buffer.toString(), "moduleName");

            return this;
        }

        public Criteria andModuleNameIn(List<String> values) {
            if (values.size() == 1) {
                return andModuleNameEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ModuleName + " in", values,
                    "moduleName");

                return this;
            }
        }

        public Criteria andModuleNameNotIn(List<String> values) {
            if (values.size() == 1) {
                return andModuleNameNotEqualTo(values.get(0));
            } else {
                addCriterion(ISysActionDAO.ModuleName + " not in", values,
                    "moduleName");

                return this;
            }
        }

        public Criteria andModuleNameIn(String[] values) {
            if (values.length == 1) {
                return andModuleNameEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ModuleName + " in",
                    Arrays.asList(values), "moduleName");

                return this;
            }
        }

        public Criteria andModuleNameNotIn(String[] values) {
            if (values.length == 1) {
                return andModuleNameNotEqualTo(values[0]);
            } else {
                addCriterion(ISysActionDAO.ModuleName + " not in",
                    Arrays.asList(values), "moduleName");

                return this;
            }
        }

        public Criteria andModuleNameIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleName + " in ", subQueryBean, dao);

            return this;
        }

        public Criteria andModuleNameNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(ISysActionDAO.ModuleName + " not in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andModuleNameBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.ModuleName + " between", value1, value2,
                "moduleName");

            return this;
        }

        public Criteria andModuleNameNotBetween(String value1, String value2) {
            addCriterion(ISysActionDAO.ModuleName + " not between", value1,
                value2, "moduleName");

            return this;
        }
    }
}
